<template>
	<div class="contents">
		<van-nav-bar
		  title="关注的话题"
		  left-text="返回"
		  left-arrow
		  @click-left="onClickLeft"
		/>
		<div class="content">
			<van-cell-group>
				<van-cell title="话题1" is-link to="index"/>
				<van-cell title="话题2" is-link to="index"/>
				<van-cell title="话题3" is-link to="index"/>
			</van-cell-group>
		</div>
	</div>
</template>

<script>
import Vue from 'vue'
import { Row, Col, Cell, CellGroup, NavBar } from 'vant'
Vue.use(Row).use(Col).use(Cell).use(CellGroup).use(NavBar)

export default {
	data () {
		return {}
	},
	methods: {
		onClickLeft () {
			this.$router.go(-1)
		}
	}
}
</script>

<style lang="scss" scoped="scoped">
@import '@/lib/reset.scss';
</style>
